package hom.config;


public enum AcceptableImagesFormats {
    jpg, jpeg, png;

    public static String asString() {
        StringBuilder res = new StringBuilder();
        for (AcceptableImagesFormats f : AcceptableImagesFormats.values()) {
            res.append(f.name());
            if (f.ordinal() < AcceptableImagesFormats.values().length - 1)
                res.append(',');
        }
        return res.toString();
    }

}
